package com.study.service.impl;

import com.study.bean.User;
import com.study.dao.impl.UserDaoImpl;
import com.study.service.UserService;

import java.sql.SQLException;

public class UserServiceImpl implements UserService {
    @Override
    public User getUserByLogin(String name, String password) throws SQLException {

        return UserDaoImpl.getUserByLogin(name, password);
    }
}
